<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<title>修改商品信息</title>

<!-- Bootstrap -->
<link
	href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
	rel="stylesheet">
</head>
<body>
	<jsp:include page="../top.jsp"></jsp:include>
	<h3>${ responseworld}</h3>
	<form action="updategoodsinfo" method="post">
		<label>商品ID:</label> <input type="text" name="goods_id"
			readonly="readonly" value="${goods.goods_id}"><br> <label>商品名称:</label>
		<input type="text" name="goods_name" value="${goods.goods_name }"
			placeholder="请输入商品名称"><br> <label>商品价格:</label> <input
			type="text" name="goods_price" value="${goods.goods_price }"
			placeholder="请输入商品价格"><br> <label>商品数量:</label> <input
			type="text" name="goods_number" value="${goods.goods_number }"
			placeholder="请输入商品数量"><br> <label>选择供应商：</label> <select
			name="supplier_id">
			<c:forEach items="${ allsupplier }" var="supplier">
				<option value="${ supplier.supplier_id }">${ supplier.supplier_name}</option>
			</c:forEach>
		</select> 
		
		<label>选择仓库：</label>
		 <select name="warehoue_id">
			<c:forEach items="${ allwarehouse }" var="warehouse">
				<option value="${ warehouse.warehouse_id }">${ warehouse.warehouse_name}</option>
			</c:forEach>
		</select> <input type="submit" value="提交修改">
	</form>
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script
		src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>